package com.general.client.widgets.button;

import net.customware.gwt.presenter.client.widget.WidgetDisplay;

import com.general.client.action.ActionHandler;
import com.general.client.enableable.Enableable;
import com.google.gwt.event.dom.client.BlurHandler;
import com.google.gwt.event.dom.client.KeyDownHandler;
import com.google.gwt.event.shared.HandlerRegistration;
import com.google.gwt.user.client.ui.HasText;

public interface IButton extends WidgetDisplay, Enableable {
	HandlerRegistration addActionHandler(final ActionHandler handler);

	HandlerRegistration addKeyDownHandler(KeyDownHandler handler);

	HandlerRegistration addBlurHandler(BlurHandler handler);

	void setFocus();

	HasText getText();

}
